@if (message.body) {
  <div class="alert" [ngClass]="'alert-' + message.type" role="alert">
  <i class="fa me-2" [ngClass]="{
    'fa-check-circle': message.type === 'success',
    'fa-exclamation-circle': message.type === 'warning' || message.type === 'danger'
  }"></i>
    <span [innerHTML]="message.body"></span>
  </div>
}